package com.bvgol.examples.springbootLogback.service;/**
 * @Classname LosServiceImpl
 * @Description TODO
 * @Date 2022/4/13 14:56
 * @Created by GUOCHEN
 */

import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @program: my-spring-completely
 * @description:
 * @author: GUOCHEN
 * @create: 2022/04/13 14:56
 */
@Service
public class LosServiceImpl implements LogService{
    @Override
    public Object implLog(String param) {
        return "LosServiceImpl.implLog--"+ LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS"));
    }
}
